
using System;

namespace MxitAPI
{
	
	
	public class MxitException : Exception
	{
		
		private static log4net.ILog log = log4net.LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType );
		
		public MxitException() : base() {
			log.Error( "MxitException occured [No message]" );
		}
		
		public MxitException( string message ) : base( message ) {
			log.Error( "MxitException occured: " + message );
		}
		
	}
}
